package com.mm.cloud.common.security.exception;

import java.io.Serial;

/**
 * 拒绝访问
 *
 * @author mr
 * @since 2021-07-12
 */
public class AccessDeniedException extends RuntimeException {

    @Serial
    private static final long serialVersionUID = 1L;

    public AccessDeniedException() {
        super("权限不足，拒绝访问");
    }

    public AccessDeniedException(String message) {
        super(message);
    }
}
